<?php
/**          
**/

include('../include/config.inc.php');
include(CE_ROOT.'/include/celive.class.php');
$mainbox = new celive();
$mainbox->template();
$mainbox->xajax_live();


$operatorname = $_SESSION['operatorname'];
$dname = $_SESSION['dname'];
$chatid = $_SESSION['chatid'];
$GLOBALS['template']->assign('chatid',$chatid);
$GLOBALS['template']->assign('operatorname',$operatorname);
$GLOBALS['template']->assign('dname',$dname);
$GLOBALS['template']->assign('xajax_live',$xajax_live->getJavascript(''));
$GLOBALS['template']->display('mainbox.htm');
?>